-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[CI] Skip Running Premerge Advisor on AArch64 #168404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] Skip Running Premerge Advisor on AArch64 #168404
Conversation
b95a00e to
5054900
Compare
They were still running because the conditional was not correct. This patch fixes that so they do not interefere with the results of the job.
|
@llvm/pr-subscribers-github-workflow Author: Aiden Grossman (boomanaiden154) ChangesThey were still running because the conditional was not correct. This patch fixes that so they do not interefere with the results of the job. Full diff: https://github.com/llvm/llvm-project/pull/168404.diff 3 Files Affected:
diff --git a/.ci/premerge_advisor_explain.py b/.ci/premerge_advisor_explain.py
index e1bc59f389b36..ac6e13b3c4cd2 100644
--- a/.ci/premerge_advisor_explain.py
+++ b/.ci/premerge_advisor_explain.py
@@ -147,7 +147,7 @@ def main(
# Skip looking for results on AArch64 for now because the premerge advisor
# service is not available on AWS currently.
- if platform.machine() == "arm64":
+ if platform.machine() == "arm64" or platform.machine == "aarch64":
sys.exit(0)
main(
diff --git a/.ci/premerge_advisor_upload.py b/.ci/premerge_advisor_upload.py
index 9e14743c7cc07..86032a42e179d 100644
--- a/.ci/premerge_advisor_upload.py
+++ b/.ci/premerge_advisor_upload.py
@@ -59,7 +59,7 @@ def main(commit_sha, workflow_run_number, build_log_files):
# Skip uploading results on AArch64 for now because the premerge advisor
# service is not available on AWS currently.
- if platform.machine() == "arm64":
+ if platform.machine() == "arm64" or platform.machine() == "aarch64":
sys.exit(0)
main(args.commit_sha, args.workflow_run_number, args.build_log_files)
diff --git a/.github/workflows/premerge.yaml b/.github/workflows/premerge.yaml
index 02a6f3b868d85..127ef9536e0ae 100644
--- a/.github/workflows/premerge.yaml
+++ b/.github/workflows/premerge.yaml
@@ -57,6 +57,9 @@ jobs:
# container and non-container jobs.
shell: bash
steps:
+ - name: Print platform
+ run: |
+ python3 -c "import platform; print(platform.machine())"
- name: Checkout LLVM
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
|
|
@llvm/pr-subscribers-infrastructure Author: Aiden Grossman (boomanaiden154) ChangesThey were still running because the conditional was not correct. This patch fixes that so they do not interefere with the results of the job. Full diff: https://github.com/llvm/llvm-project/pull/168404.diff 3 Files Affected:
diff --git a/.ci/premerge_advisor_explain.py b/.ci/premerge_advisor_explain.py
index e1bc59f389b36..ac6e13b3c4cd2 100644
--- a/.ci/premerge_advisor_explain.py
+++ b/.ci/premerge_advisor_explain.py
@@ -147,7 +147,7 @@ def main(
# Skip looking for results on AArch64 for now because the premerge advisor
# service is not available on AWS currently.
- if platform.machine() == "arm64":
+ if platform.machine() == "arm64" or platform.machine == "aarch64":
sys.exit(0)
main(
diff --git a/.ci/premerge_advisor_upload.py b/.ci/premerge_advisor_upload.py
index 9e14743c7cc07..86032a42e179d 100644
--- a/.ci/premerge_advisor_upload.py
+++ b/.ci/premerge_advisor_upload.py
@@ -59,7 +59,7 @@ def main(commit_sha, workflow_run_number, build_log_files):
# Skip uploading results on AArch64 for now because the premerge advisor
# service is not available on AWS currently.
- if platform.machine() == "arm64":
+ if platform.machine() == "arm64" or platform.machine() == "aarch64":
sys.exit(0)
main(args.commit_sha, args.workflow_run_number, args.build_log_files)
diff --git a/.github/workflows/premerge.yaml b/.github/workflows/premerge.yaml
index 02a6f3b868d85..127ef9536e0ae 100644
--- a/.github/workflows/premerge.yaml
+++ b/.github/workflows/premerge.yaml
@@ -57,6 +57,9 @@ jobs:
# container and non-container jobs.
shell: bash
steps:
+ - name: Print platform
+ run: |
+ python3 -c "import platform; print(platform.machine())"
- name: Checkout LLVM
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
|
5054900 to
ad9975e
Compare
🐧 Linux x64 Test Results
|
They were still running because the conditional was not correct. This patch fixes that so they do not interefere with the results of the job.